package com.cdtye.shuoh.service.product;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cdtye.shuoh.domain.product.entity.ProductServices;
import com.cdtye.shuoh.domain.product.vo.ProductServicesVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ProductServicesService extends IService<ProductServices> {

    public int insertServices(ProductServices productServices);

    public List<ProductServices> findAllByProductIdentificationId(String productIdentification);

    public ProductServices findOneByProductIdentificationAndServiceId(String productIdentification,String serviceId );

    public IPage<ProductServices> pageList(ProductServicesVo vo);

    public List<ProductServices> list(ProductServicesVo vo);

    int deleteByProductIdentification(String productIdentification);
}
